public class 求两数中较大值 {
    public static int compareSize(int a,int b) {
        if(a>b) {
            return a;
        }else {
            return b;
        }

    }
    public static int compareSize(int a,int b,int c) {
        int max = compareSize(a,b);
        return compareSize(max,c);

    }
    public static void main(String[] args) {
        int a = 1;
        int b = 0;
        int c = 666;
        compareSize(a,b);
        System.out.println("a="+a+","+"b="+b+","+"c="+c+"其中最大的数是：" + compareSize(a,b,c) );

    }
}
